package lin.an.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import lin.an.food.entity.FoodFavorite;
import lin.an.food.param.FoodFavoriteParam;

import java.util.List;

/**
 * @author zhoulinq
 * @date 2025/4/10
 */
public interface FoodFavoriteService extends IService<FoodFavorite> {
    boolean isFavorited(int foodId, int userId);
    void removeFavorite(int foodId, int userId);

    void addFavorite(int foodId, int userId);

    List<Integer> getFoodId(int loginId);
}